﻿using System.Collections.Generic;

namespace Web7
{
    public interface IPagedList<T> : IEnumerable<T>
    {
        /// <summary>
        /// CurrentPageIndex
        /// </summary>
        int CurrentPageIndex { get; set; }

        /// <summary>
        /// PageSize
        /// </summary>
        int PageSize { get; set; }

        /// <summary>
        /// TotalItemCount
        /// </summary>
        int TotalItemCount { get; set; }

        /// <summary>
        /// TotalPageCount
        /// </summary>
        int TotalPageCount { get; }

        /// <summary>
        /// StartRecordIndex
        /// </summary>
        int StartRecordIndex { get; }

        /// <summary>
        /// EndRecordIndex
        /// </summary>
        int EndRecordIndex { get; }
    }
}
